const http = uni.$u.http

// post请求，获取菜单
export const testApiGet = (params) => http.get('/ebapi/public_api/index', {params:params})
export const testApiPost = (data = {}) => http.post('/ebapi/public_api/index', data)
export const testApiPut = (id, data = {}) => http.put('/ebapi/public_api/index/'+ id +'/', data)
export const testApiDelete = (id) => http.delete('/ebapi/public_api/index/'+ id +'/')


